// 登录需要携带参数的类型
export interface logingRquData {
  username: string
  password: string
}
interface logingData {
  token?: string
  message?: string
}
// 登录接口返回的数据类型
export interface logingResData {
  code: number
  data: logingData
}
// 用户信息返回的数据类型
interface checkUserType {
  userId: number
  avatar: string
  username: string
  password: string
  desc: string
  roles: string[]
  buttons: string[]
  routes: string[]
  token: string
}
interface userData {
  checkUser: checkUserType
}
export interface userInFoResData {
  code: number
  data: userData
}
